package com.example.goodsserver.params;

import com.example.userserver.params.BasePageParams;
import com.github.pagehelper.IPage;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "PageGoodsParams", parent = BasePageParams.class, description = "商品分页查询")
public class PageGoodsParams extends BasePageParams implements IPage {
    @ApiModelProperty(value="商品标题", example = "Java基础入门")
    private String title;
    @ApiModelProperty(value="商品最低价格", example = "50")
    private Double minPrice;
    @ApiModelProperty(value="商品最高价格", example = "50")
    private Double maxPrice;
    @ApiModelProperty(value="用户id", example = "1")
    private String userId;
    @ApiModelProperty(value="商品状态", example = "1")
    private int status;
}
